It deletes SFChat messages. It’s send after successfully delivering message. Therefore SFChat server keeps only undelivered messages.